#pragma once

#ifdef SENSORWRAPPER_EXPORTS
#define SENSORWRAPPER_API __declspec(dllexport)
#else
#define SENSORWRAPPER_API __declspec(dllexport)
#endif

#define SENSOR_VAR_DISPLAY 0x10
#define SENSOR_VAR_TARGET  0x11

extern "C" SENSORWRAPPER_API int sensor_get_context(const int variable_id, int length, int* value);

extern "C" SENSORWRAPPER_API int sensor_set_context(const int variable_id, int length, int* value);

extern "C" SENSORWRAPPER_API int sensor_try_access_data(int& x, int& y, int& z, bool force_valid=false);

extern "C" SENSORWRAPPER_API int sensor_init();

extern "C" SENSORWRAPPER_API int sensor_update();

extern "C" SENSORWRAPPER_API int sensor_destroy();

